package com.yh.csx.crm.service.request;

import com.yh.csx.crm.core.model.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Huang Zhaoping
 * @date 2019/4/11
 */
@Data
public class SalesSearchReq extends PageRequest {

    @ApiModelProperty("上级ID")
    private Long parentId;

    @ApiModelProperty("部门ID")
    private Integer orgId;

    @ApiModelProperty("包含所有下级部门")
    private Boolean allSubOrg;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("工号")
    private String workNumber;

    @ApiModelProperty("职位：SALES-销售员，SALES_SUPPORT-销售支持，SALES_MANAGER-销售主管，AREA_MANAGER-地区经理，PLATFORM-平台业务，FINANCE_STAFF-财务人员，FINANCE_MANAGER-财务总监，CEO-CEO")
    private String position;

    @ApiModelProperty("排除职位列表")
    private List<String> notPositionList;

    @ApiModelProperty("关键字")
    private String keyword;
}
